﻿<Window x:Class="ICSharpCode.AvalonEdit.Edi.PrintEngine.PrintPreviewDialog"
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:ICSharpCode.AvalonEdit.Edi.PrintEngine"

    Title="Print Preview"
    Height="600"
    Width="400"
    WindowState="Maximized"
    WindowStartupLocation="CenterOwner">
  <Grid>

    <local:PrintPreviewDocumentViewer x:Name="documentViewer"  Grid.Row="0"/>

    <WrapPanel FlowDirection="RightToLeft" Grid.Row="1">
      <Button Click="closeButton_Click" Margin="7,7,7,7" VerticalAlignment="Center">Cancel</Button>
    </WrapPanel>
  </Grid>

</Window>
